import React from 'react';
import { DemoBlock } from 'demos';
import { Tag, Space } from '@pxxtech/component';

export default () => {
  return (
    <>
      <DemoBlock title="基本用法">
        <Space wrap>
          <Tag color="success-light">success</Tag>
          <Tag color="processing-light">processing</Tag>
          <Tag color="error-light">error</Tag>
          <Tag color="warning-light">warning</Tag>
          <Tag color="default-light">default</Tag>
        </Space>
      </DemoBlock>
    </>
  );
};
